package com.maiji.cloud.service;

import java.util.List;

import com.maiji.cloud.request.shopingmall.AddDownPriceUserLogReqDto;
import com.maiji.cloud.request.shopingmall.DownPriceDetailReqDto;
import com.maiji.cloud.request.shopingmall.DownPriceGoodsReqDto;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseResDto;
import com.maiji.cloud.response.shopingmall.DownPriceDetailResDto;
import com.maiji.cloud.response.shopingmall.DownPriceGoodsListResDto;
import com.maiji.cloud.response.shopingmall.DownPriceUserLogListResDto;
import com.maiji.cloud.response.shopingmall.UnderwayDownPriceGoodsData;

public interface DownPriceGoodsService {
	/**
	 * 获取砍价免费拿商品列表
	 * @param param
	 * @return
	 */
	DownPriceGoodsListResDto getDownPriceGoodsList(DownPriceGoodsReqDto param);
	/**
	 * 获取砍价详情
	 * @param param
	 * @return
	 */
	DownPriceDetailResDto getDownPriceDetail(DownPriceDetailReqDto param);
	/**
	 * 
	 * @param param
	 * @return
	 */
	DownPriceUserLogListResDto getDownPriceUserLogList(DownPriceDetailReqDto param);
	/**
	 * 增加用户砍价记录
	 * @param param
	 * @return
	 */
	BaseResDto addDownPriceUserLog(AddDownPriceUserLogReqDto param);
	/**
	 * 用户砍价正在进行中的商品列表
	 * @param maijiToken
	 * @return
	 */
	BaseDataResDto<List<UnderwayDownPriceGoodsData>> userUnderwayDownPriceGoods(String maijiToken);
	/**
	 * 结束发起的砍价活动
	 * @param param
	 * @return
	 */
	BaseResDto endDownPriceGoods(DownPriceDetailReqDto param);
}
